//
//  SummaryModel.m
//  mendianjieke
//
//  Created by 响当当 on 8/5/19.
//  Copyright © 2019 dongzheng. All rights reserved.
//

#import "SummaryModel.h"

@implementation SummaryModel
- (id)initWithDic:(NSDictionary *)dic
{
    if (self = [super init])
    {
        self.age = IFNULL(dic[@"age"], [NSNumber new]);
        self.gender = IFNULL(dic[@"gender"],  [NSNumber new]);
        self.isFirstTime = IFNULL(dic[@"isFirstTime"], [NSNumber new]);
        self.loyalty = IFNULL(dic[@"loyalty"], [NSNumber new]);
        self.label = IFNULL(dic[@"label"], @"");
        self.lifeCycle = IFNULL(dic[@"lifeCycle"], @"");
        self.industry = IFNULL(dic[@"industry"], @"");
    }
    return self;
}
@end
